import Chat from "../src/chat";
import { expect, test } from "@jest/globals";

test("chat", () => {
  const chat = new Chat({
    user_id: "user_id",
    user_avatar: "user_avatar",
    user_name: "user_name",
    assistant_id: "assistant_id",
    assistant_avatar: "assistant_avatar",
    assistant_name: "assistant_name",
    room_id: "room_id",
  });
  expect(chat.user_id).toEqual("user_id");
  expect(chat.user_avatar).toEqual("user_avatar");
  expect(chat.user_name).toEqual("user_name");
  expect(chat.assistant_id).toEqual("assistant_id");
  expect(chat.assistant_avatar).toEqual("assistant_avatar");
  expect(chat.assistant_name).toEqual("assistant_name");
  expect(chat.room_id).toEqual("room_id");
});
